package com.journey.org.entity

import com.mvvmhabit.org.base.BaseBannerEntity

/**
 * @Date: 2020/11/17 11:52
 * @Author:小妖
 * @Description: 干货集中营 数据类
 */

// banner
data class BannerEntity(
    val image: String,
    val title: String,
    val url: String,
    override var pictureAddr: String?
) : BaseBannerEntity

// 周最热
data class WeekHottestEntity(
    val _id: String,
    val author: String,
    val category: String,
    val createdAt: String,
    val desc: String,
    val images: List<String>,
    val likeCounts: Int,
    val publishedAt: String,
    val stars: Int,
    val title: String,
    val type: String,
    val url: String,
    val views: Int
)

// 搜索返回值
data class SearchGankEntity(
    val _id: String,
    val author: String,
    val category: String,
    val createdAt: String,
    val desc: String,
    val images: List<String>,
    val likeCount: Int,
    val likeCounts: Int,
    val publishedAt: String,
    val updatedAt: String,
    val markdown: String,
    val stars: Int,
    val status: Int,
    val title: String,
    val type: String,
    val url: String,
    val views: Int
)

// 干货美女
data class GankGirlEntity(
    val _id: String,
    val author: String,
    val category: String,
    val createdAt: String,
    val desc: String,
    val images: List<String>,
    val likeCounts: Int,
    val publishedAt: String,
    val stars: Int,
    val title: String,
    val type: String,
    val url: String,
    val views: Int
)

// 目录
data class GankMenuEntity(
    val _id: String,
    val coverImageUrl: String,
    val desc: String,
    val title: String,
    val type: String
)

// 文章列表内容
data class GankArticleEntity(
    val _id: String,
    val author: String,
    val category: String,
    val createdAt: String,
    val desc: String,
    val images: List<String>,
    val likeCounts: Int,
    val publishedAt: String,
    val stars: Int,
    val title: String,
    val type: String,
    val url: String,
    val views: Int
)

data class GankArticleDetailEntity(
    val _id: String,
    val author: String,
    val category: String,
    val content: String,
    val createdAt: String,
    val desc: String,
    val images: List<String>,
    val index: Int,
    val isOriginal: Boolean,
    val license: String,
    val likeCount: Int,
    val likeCounts: Int,
    val likes: List<Any>,
    val originalAuthor: String,
    val markdown: String,
    val publishedAt: String,
    val stars: Int,
    val status: Int,
    val tags: List<Any>,
    val title: String,
    val type: String,
    val updatedAt: String,
    val url: String,
    val views: Int
)